﻿using F2B.Orchard.Schedule.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace F2B.Orchard.Schedule.Providers
{
    public class ScheduleInstance<T>: IComparable<DateTime>
    {
        public DateTime StartDateTime { get; set; }
        public T Model { get; set; }

        public int CompareTo(DateTime other)
        {
            return StartDateTime.CompareTo(other);
        }
    }
}